package com.bxji.spring.eurekaclient;

import com.bxji.spring.ms.commons.domain.User;

public class HystrixClientFallback implements UserFeignClient {

    @Override
    public User findById(Long id) {
        User user = new User();
        user.setId(0L);
        return user;
    }

    @Override
    public User postUser(User user) {
        User user1 = new User();
        user1.setId(0L);
        return user1;
    }

}
